package com.dji.bean;

public class CompomentData<T> {
	/**
	 * 服务响应码
	 */
	public static final String SERVICE_SUCCESS = "000000";
	public static final String SERVICE_FAIL = "999999";
	/**
	 * 报文头
	 */
	private String retCode;
	private String retMsg;

	private T requestData;
	private Object responseData;

	public CompomentData() {

	}

	public CompomentData(String retCode) {
		this.retCode = retCode;
	}

	public CompomentData(String retCode, String retMsg) {
		this.retCode = retCode;
		this.retMsg = retMsg;
	}

	public String getRetCode() {
		return retCode;
	}

	public void setRetCode(String retCode) {
		this.retCode = retCode;
	}

	public String getRetMsg() {
		return retMsg;
	}

	public void setRetMsg(String retMsg) {
		this.retMsg = retMsg;
	}

	public T getRequestData() {
		return requestData;
	}

	public void setRequestData(T requestData) {
		this.requestData = requestData;
	}

	public Object getResponseData() {
		return responseData;
	}

	public void setResponseData(Object responseData) {
		this.responseData = responseData;
	}

}
